xen/common: Replace incorrect mandatory barriers with SMP barriers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 5 Oct 2016 11:42:15 +0000 (12:42 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 7 Dec 2016 10:02:37 +0000 (10:02 +0000)
commitea33d31b0c3d04576d7076d91bb415d44370c899
treea91a5d34fa9771ba4261e05cdccb754895009d7b
parent2a854e414f7e1b905af5bdb9c88f154cfe4f5f4e
xen/common: Replace incorrect mandatory barriers with SMP barriers

Mandatory barriers are only for use with reduced-cacheability MMIO mappings.

All of these uses are just to deal with shared memory between multiple
processors, so use the smp_*() which are the correct barriers for the purpose.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/common/grant_table.c
xen/common/time.c
xen/common/vm_event.c